﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using WinTime.Contracts.Services;
using WinTime.Data.Entity;
using WinTime.Models;

namespace WinTime.Contracts;
public class MyMapperProfile : Profile, IProfile
{
    public MyMapperProfile()
    {

        CreateMap<AppModel, AppModelListDto>();
        CreateMap<AppModelListDto, AppModel>();

        CreateMap<CategoryModel,CategoryDto>();
        CreateMap<CategoryDto,CategoryModel>();
    }
}
